package com.gogant.spider.demo.novel;

import com.gogant.spider.http.Selector;

@Selector(path = "/div?class=result-list/div")
public class SearchInfo {
    @Selector(path = "/div?class=result-game-item-pic/a/img" ,value = "src")
    private String image;
    @Selector(path = "/div?class=result-game-item-pic/a" ,value = "href")
    private String home;
    @Selector(path = "/div?class=result-game-item-detail/h3/a" ,value = "allText")
    private String title;
    @Selector(path = "/div?class=result-game-item-detail/p" ,value = "allText")
    private String desc;
    @Selector(path = "/div?class=result-game-item-detail/div/p#0/a" ,value = "allText")
    private String author;
    @Selector(path = "/div?class=result-game-item-detail/div/p#3/span#1" ,value = "allText")
    private String status;

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getHome() {
        return home;
    }

    public void setHome(String home) {
        this.home = home;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "SearchInfo{" +
                "image='" + image + '\'' +
                ", home='" + home + '\'' +
                ", title='" + title + '\'' +
                ", desc='" + desc + '\'' +
                ", author='" + author + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}
